package com.juicygames.undoer;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

import com.juicygames.undoer.world.World;
import com.juicygames.framework.android.AndroidGameView;

public class Undoer extends Activity {
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        requestWindowFeature(Window.FEATURE_NO_TITLE); 
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); 
        
        setContentView(R.layout.main);

        gameView = (AndroidGameView)findViewById(R.id.ANDROID_GAME_VIEW);
        
        gameView.setFocusableInTouchMode(true);
        gameView.setFocusable(true);
        gameView.requestFocus();
        
        gameView.setGame(game);
    }
    private World game = new World();
    private AndroidGameView gameView;
}